package com.sixth.move.move_shopping_mall.service;


import com.sixth.move.move_shopping_mall.domain.Employee;
import com.sixth.move.move_shopping_mall.domain.SearchEmployeeRequest;
import com.sixth.move.move_shopping_mall.domain.SearchEmployeeResponse;

import java.util.List;

public interface EmployeeService {
    SearchEmployeeResponse listEmployee(Integer pageSize, Integer pageNum);

    int deleteEmployeeByPrimaryKey(String id);

    Employee findEmployeeByPrimaryKey(String id);

    List<Employee> searchEmployees(SearchEmployeeRequest request);

    int saveEmployee(Employee employee);
}
